package net.roseparadise.dao;
// default package

import java.util.List;

import net.roseparadise.model.Category;

public interface  CategoryDAO{   
    
    public void save(Category transientInstance);
    
	public void delete(Category persistentInstance);
    
    public Category findById( java.lang.Integer id);    
    
    public List<Category> findByExample(Category instance);
    
    public List findByProperty(String propertyName, Object value) ;

	public List<Category> findByCategoryname(Object categoryname) ;
	
	public List<Category> findByCategoryorder(Object categoryorder);	

	public List findAll() ;
	
    public Category merge(Category detachedInstance);

   
}